package com.bvgol.examples.myAnnotation.service;/**
 * @Classname AopLogsServiceImpl
 * @Description TODO
 * @Date 2021/5/12 11:23
 * @Created by GUOCHEN
 */

import com.bvgol.examples.myAnnotation.ann.ApiOperateLog;
import com.bvgol.examples.myAnnotation.constants.LogConst;
import com.bvgol.examples.myAnnotation.dto.Page;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

/**
 * @program: my-springboot-completely
 * @description:
 * @author: GUOCHEN
 * @create: 2021/05/12 11:23
 */
@Slf4j
@Service
public class AopLogsServiceImpl implements AopLogService {

    @ApiOperateLog(logName = "查询日志", logType = LogConst.LogType.LogType_SELECT, logModule = LogConst.LogModule.LOG_USER_INFO)
    @Override
    public String handleArgs(Page page) {
        log.info("来了");
        return "处理完毕";
    }
}
